
//luck, str, wis, int, agi, skill, vit, atkspd
var/list/enchants = list("Quartz"="str","Rose Quartz"="vit","Citrine"="agi",
						 "Amethyst"="int","Peridot"="skill","Moonstone"="wis")

proc/check_enchant(gem)
	switch(gem)
		if("Rough Quartz")			return 1
		if("Quartz")		 		return 2
		if("Polished Quartz")		return 4

		if("Rough Rose Quartz")		return 1
		if("Rose Quartz")		 	return 2
		if("Polished Rose Quartz")	return 4

		if("Rough Citrine")			return 1
		if("Citrine")				return 2
		if("Polished Citrine")		return 4

		if("Rough Amethyst")		return 1
		if("Amethyst")		 		return 2
		if("Polished Amethyst")		return 4

		if("Rough Peridot")			return 1
		if("Peridot")		 		return 2
		if("Polished Peridot")		return 4

		if("Rough Moonstone")		return 1
		if("Moonstone")		 		return 2
		if("Polished Moonstone")	return 4


	world.log << "[gem] does not have an enchant"
	return 0